package com.flyco.modules.sms.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.flyco.modules.sms.entity.SmsDiscountStore;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description: 指定门店券
 * @Author: flyco
 * @Date:   2020-09-28
 * @Version: V1.0
 */
@Repository
public interface SmsDiscountStoreMapper extends BaseMapper<SmsDiscountStore> {

    public boolean deleteByMainId(Long mainId);

    public List<SmsDiscountStore> selectByMainId(Long mainId);

}
